
/*
*	ak add for image button with three image
*/

#pragma once

#include "guichan/image.hpp"
#include "guichan/platform.hpp"
#include "guichan/widget.hpp"
#include "guichan/widgets/button.hpp"
#include <string>
using namespace std;


namespace gcn
{
	class GCN_CORE_DECLSPEC ImageButtonEx: public Button
	{
	public:
		ImageButtonEx(){};
		ImageButtonEx(const string & fileMO, const string & fileMI, const string & fileMC);
		~ImageButtonEx(){};

	public:
		void setMouseIn(Image* imgMI){imgMouseIn = imgMI;};
		void setMouseOut(Image* imgMO){imgMouseIn = imgMO;};
		void setMouseClick(Image* imgMC){imgMouseIn = imgMC;};

	public:
		virtual void draw(Graphics* graphics);

	protected:
		Image* imgMouseOut;
		Image* imgMouseIn;
		Image* imgMouseClick;
	};
}